#ifndef VIRTUALDEVICECONFIG_H
#define VIRTUALDEVICECONFIG_H

#include <memory>
#include <string>
#include "virtualdevice.h"

namespace xvd
{
    class VirtualDeviceConfig
    {
        public:
            VirtualDeviceConfig();
            static VirtualDeviceConfig* GetInstance();
            void ValidateDevice(const VirtualDevice* devicePtr);
            void ValidateVariable(const VirtualDeviceVariable* variable);
        private:
            static std::auto_ptr<VirtualDeviceConfig> m_instance;
            const std::string m_configurationfile;
    };
}

#endif

